package com.heima.manager.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.heima.manager.mapper.UserMapper;
import com.heima.pojo.User;

@Service
public class UserService {

	@Autowired
	private UserMapper userMapper;
	
	public User getUserById(Integer id){
		
		return userMapper.findUserByid(id);
		
	}
	
}
